package miracle.joker.design.chain_of_responsibility;

public class ChainOfResponsibilityDemo {

    public static void main(String[] args) {
        UploaderChain uploaderChain = new UploaderChain();
        File file1 = new File("test.jpg", 1024, "jpg");
        uploaderChain.upload(file1);

        /*File file2 = new File("test.jpg", -1, "jpg");
        uploaderChain.upload(file2);*/
    }
}
